package cn.wolfcode.mapper;

import cn.wolfcode.domain.Department;
import cn.wolfcode.domain.Employee;
import cn.wolfcode.query.EmployeeQueryObject;
import cn.wolfcode.query.QueryObject;

import java.util.List;

public interface EmployeeMapper {
    void deleteByPrimaryKey(Long id);

    int insert(Employee employee);

    Employee selectByPrimaryKey(Long id);

    List<Employee> selectAll();

    int updateByPrimaryKey(Employee employee);

    int selectForCount(EmployeeQueryObject qo);

    List<Employee> selectForList(EmployeeQueryObject qo);
}